package com.hourses.dto;

import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * @Description:
 * @Author:LiTao
 * @Date:2025/4/29 17:33
 */
public class AssignRoleDto implements Serializable {
    private static final long serialVersionUID = 1L;
    private Integer userId;
    private List<String> roleCheckList;


    @Override
    public String toString() {
        return "AssignRoleDto{" +
                "userId=" + userId +
                ", roleCheckList=" + roleCheckList +
                '}';
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public List<String> getRoleCheckList() {
        return roleCheckList;
    }

    public void setRoleCheckList(List<String> roleCheckList) {
        this.roleCheckList = roleCheckList;
    }

    public AssignRoleDto(Integer userId, List<String> roleCheckList) {
        this.userId = userId;
        this.roleCheckList = roleCheckList;
    }

    public AssignRoleDto() {
    }
}
